Edit your bot connection

The following procedure describes how you can edit your bot connection.

To edit your bot connection:

  1. In the Navigation pane, select Bot connections.

  1. Click the Edit button corresponding to the bot that you want to edit; the Edit Bot dialog box appears with the Details tab selected.

  1. You can modify the following:

    1. In the 'Bot connection name' field, change the name of the bot connection if required.

    2. In the 'Bot URL' field, change the name of the bot connection URL.

You can copy the Bot ID, by clicking .

  1. Click the Settings tab.

If you're editing a bot using the AudioCodes API framework, you can switch the interaction type between the Chat API and the Streaming API. If you select the Streaming API, you must also enable voice streaming in the Settings tab.

  1. From the 'Speech-to-text service' drop-down list, select the appropriate speech-to-textservice.

    • If you selected Microsoft, Google V2, or Google V1,

      1. From the 'Language' drop-down list, select the language.

        For the Deepgram speech service, you determine the language in the Advanced tab.

        Example of setting language to Latvian:

      2. From the 'Voice name' drop-down list, select the appropriate voice name.

      3. From the 'Text-to-speech service' drop-down list, select the appropriate text-to-speech service.

      4. From the 'Language' drop-down list, select the appropriate language.

      5. From the 'Voice name' drop-down list, select the appropriate voice name.

    • If you selected Deepgram,

      1. If you want voice streaming, select Enable voice streaming. Selecting this lets Live Hub stream voice directly between the bot and the user, instead of sending text. Selecting this lets Live Hub stream voice directly between the bot and the user, instead of sending text. If you enable voice streaming, the speech-to-text and text-to-speech drop-down fields will no longer be displayed.

      2. From the 'Model' drop-down list, select speech recognition model (for example, Nova-3-General).

      3. From the 'Text-to-speech service' drop-down list, select the appropriate text-to-speech service. If you also select Deepgram, from the 'Model' drop-down list, select speech recognition model (for example, Aura-2).

      4. Select Multilingual if you need multi-language support. When enabled, a 'Main language' field appears where you can define your main language.

      5. If you didn’t select Multilingual, from the 'Language' drop-down list, select the appropriate language.

      6. From the 'Voice name' drop-down list, select the appropriate voice name.

      7. Toggle Voice data privacy. When disabled, you consent to share your data. When enabled, you deny consent to share your data. Enabling this option requires additional payment.

      8. If you want voice streaming, select Enable voice streaming. Selecting this lets Live Hub stream voice directly between the bot and the user, instead of sending text. If you enable voice streaming, the speech-to-text and text-to-speech dropdown fields will no longer be displayed

        • Voice streaming quires a real-time LLM model.

        • If you enable voice streaming, the speech-to-text and text-to-speech dropdown fields will no longer be displayed

  1. Under the Additional Settings group,

    1. Click the Barge-in toggle switch and the DTMF toggle switch to enable these features. For more information, see Managing Features.

    2. In the 'Max call duration' field, enter the maximum call duration (in minutes). If the call has not ended by the time this duration elapses, Live Hub ends the call. The valid value is 0 to 43200. The default is 0 (i.e., no limit to call).

      The maximum call duration configured for your account can't be exceeded (see Configure maximum call duration). For example, if you configured a maximum call duration of 30 minutes for your account and you configure a maximum call duration of 40 minutes for this bot, Live Hub applies a maximum call duration of 30 minutes to the bot (instead of 40).

    3. By default, Live Hub sends specific SIP headers received in the INVITE request to the bot in the start message. However, you can customize this initial message to include additional SIP headers and their values, or even overwrite the value of a specific SIP header that is sent by default. Under the SIP header to Bot group, click Add; the following appears.



      i)    In the 'SIP Header' field, either enter or select a SIP header.
      ii)   In the 'Bot Parameter' field, enter the bot parameter.
      iii)  Click the blue plus icon to save these fields.

  2. Click the Features tab, and then select the feature for your bot by clicking the toggle switch to turn it on.

  3. Click the Outbound Calling tab- for more information, see Outbound calling.

  4. Click the Advanced tab.

  1. You can configure your bot using the JSON editor, see the following:

  2. When typing, you can view auto-complete options, by pressing the Ctrl + Spacebar keys. Only if your JSON syntax is valid, does the Update button become available.

  3. Click the Info tab to display the bot interface's public IP address. You can add this IP address to your firewall's whitelist. You can copy it, by clicking .

  1. Click Update to accept all your changes, and then click Close to close the dialog box.